/* ----------------------------------------------------------------------------------------------------------------
 *  IRenderable
 * ----------------------------------------------------------------------------------------------------------------
 */
package pure.engine.core 
{
	import pure.engine.renderer.IAnimation;
	import pure.engine.renderer.IRenderer;
	import pure.engine.renderer.IShape;
	import pure.engine.renderer.IText;
	
	// 可渲染对象接口
		
	// [Author] - Pure
	//
public interface IRenderable extends IVisible
{
		
	
	//======================
	// Renderer !!
	//======================
	
	
	function get headRenderer():IRenderer;
	function get tailRenderer():IRenderer;

	function createAnimationRenderer(section:String = null, name:String = null):IAnimation
	function createShapeRenderer(offsetX:Number = 0, offsetY:Number = 0, name:String = null):IShape
	function createTextRenderer(text:String, offsetX:Number = 0, offsetY:Number = 0, gapX:Number = 0, gapY:Number = 0, name:String = null):IText;

	function getRenderer(name:String):IRenderer;
	
	
	
}
	
}